//These are some extras for the 2d3d browser, which use the chrome module.

//Make the script runs only when the chrome module is present.
require("chrome")

AddCSLuaFile( "autorun/Chrome_res.lua" )

--resource.AddFile("materials/chrome/browser.vtf")
--resource.AddFile("materials/chrome/browser.vmt")
resource.AddFile("materials/chrome/mouse/mouse.vtf")
resource.AddFile("materials/chrome/mouse/mouse.vmt")

resource.AddFile("materials/vgui/entities/advertise.vtf")
resource.AddFile("materials/vgui/entities/advertise.vmt")
resource.AddFile("materials/vgui/entities/free_streamradio.vtf")
resource.AddFile("materials/vgui/entities/free_streamradio.vmt")
resource.AddFile("materials/vgui/entities/google.vtf")
resource.AddFile("materials/vgui/entities/google.vmt")

//list.Add( "OverrideMaterials", "chrome/browser" ) //The texture needs a fix for this.
list.Set( "LampTextures", "chrome/browser", { Name = "Chrome Browser" } )